package com.itCar.base.api.faceCompare;

/**
 * @ClassName: ResponseData
 * @Author: hhxx_liuzhiguo
 * @CreateTime: 2023-08-30  15:32
 */
public class ResponseData {
    private ResponseData.Header header;
    private ResponseData.PayLoad payload;

    public ResponseData.Header getHeader() {
        return header;
    }

    public ResponseData.PayLoad getPayLoad() {
        return payload;
    }

    public static class Header {
        private int code;
        private String message;
        private String sid;

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }

        public String getSid() {
            return sid;
        }
    }

    public static class PayLoad {
        private FaceResult face_compare_result;

        public FaceResult getFaceCompareResult() {
            return face_compare_result;
        }
    }

    public static class FaceResult {
        private String compress;
        private String encoding;
        private String format;
        private String text;

        public String getCompress() {
            return compress;
        }

        public String getEncoding() {
            return encoding;
        }

        public String getFormat() {
            return format;
        }

        public String getText() {
            return text;
        }
    }
}
